package sctu.edu.java.year2016.team02.wanggaowen.day20160525.chapter7_1;

/**
 * Created by 15c on 2016/5/24.
 */
   public class Figure {
    private float art=0;
     public Figure(){
     }
     public  void figure(float a){
     this.art=a;System.out.print("赋值成功：值为"+art+"\n");
  }
     public void getFigure(){
        System.out.print("获取值为"+art);
    }
}
